package com.hancher.gamelife2.birthday;

import android.graphics.Bitmap;
import android.view.LayoutInflater;
import android.view.ViewGroup;

import com.hancher.common.rv.BaseVBAdapter;
import com.hancher.gamelife2.databinding.ItemImageBinding;

/**
 * 描述 : 人脸列表 <br/>
 * 时间 : 2024/1/15 11:49 <br/>
 * 作者 : Hancher ytu_shaoweijie@163.com
 */
public class SelectFaceImageAdapter extends BaseVBAdapter<ItemImageBinding, Bitmap> {


    @Override
    protected ItemImageBinding createViewBinding(LayoutInflater from, ViewGroup viewGroup) {
        return ItemImageBinding.inflate(from, viewGroup, false);
    }

    @Override
    protected void convertItem(ItemImageBinding binding, int position, Bitmap item) {
        binding.imgImage.setImageBitmap(item);
    }

}